<%@ page language="java" import="java.util.*" pageEncoding="utf-8" %>
<%@ include file="/WEB-INF/taglib.jsp" %>

<%String path = request.getContextPath();%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
    <title>定时任务监控</title>
    <%@ include file="/WEB-INF/jsp/include.jsp" %>

</head>
<script type="text/javascript">
    var path="<%=path%>";
</script>

<body style="margin:0px; padding:0px;">
<%@ include file="/WEB-INF/jsp/loading.jsp" %>
<div class="easyui-layout" fit="true">
    <div region="center" style="padding: 5px;" border="false">
        <div class="easyui-layout" fit="true" border="false">
            <div id="divNorth" region="north" title="查询条件" border="true" noheader="false"
                 style="padding: 6px; height: 96px; background: none repeat scroll 0 0 #EFEFEF;">
                <table>
                    <tr>
                        <td>任务名称：</td>
                        <td><input class="query_input" type="text" id="jobName" name="jobName" style="width: 150px"/>
                        </td>

                        <td>&nbsp;&nbsp;任务分组：</td>
                        <td><input class="query_input" type="text" id="jobGroup" name="jobGroup" style="width: 150px"/>
                        </td>
                        <td>&nbsp;&nbsp;任务状态：</td>
                        <td><input class="query_input" type="text" id="jobState" name="jobState" style="width: 150px"/>
                        </td>
                    </tr>
                    <tr>
                        <td>调用时间</td>
                        <td><input id="executeTimeStart" class="easyui-datebox" editable="false" style="width:100px"/>-
                            <input id="executeTimeEnd" class="easyui-datebox" editable="false" style="width:100px"/></td>

                        <td>&nbsp;&nbsp;结束时间：</td>
                        <td><input id="endTimeStart" class="easyui-datebox" editable="false" style="width:100px"/>-
                            <input id="endTimeEnd" class="easyui-datebox" editable="false" style="width:100px"/></td>
                        <td>&nbsp;&nbsp;下次调用时间：</td>
                        <td><input id="nextExecuteTimeStart" class="easyui-datebox" editable="false" style="width:100px"/>-
                            <input id="nextExecuteTimeEnd" class="easyui-datebox" editable="false" style="width:100px"/></td>
                        <td>
                            <input class="search-btn-blue" style="margin-left:10px" type="button" onclick="btnQuery();"
                                   value="查询">
                        </td>
                        <td>
                            <input class="search-btn-gray" style="margin-left:5px" type="button" onclick="btnReset();"
                                   value="重置">
                        </td>
                    </tr>
                </table>
            </div>
            <div region="center" title="列表信息" border="true" noheader="false" style="padding: 0 0 0 0;">
                <table id="tt" title="" border="false"></table>
            </div>
        </div>
    </div>
</div>

<div id="tb" style="padding: 1px; height: auto; display: none;">

</div>
<script type="text/javascript" src="<%=path%>/resource/js/system/cronmonitor/index.js"></script>

</body>
</html>
